<?php

define('FACEBOOK_APP_ID', '164214020334768');
define('FACEBOOK_SECRET', '78687e4726b28232e7368423344ea2f9');

define('DB_HOST', 'localhost');
define('DB_USER', 'karma');
define('DB_PASSWORD', 'karma');
define('DB_NAME', 'karma');


/** Creates a new instance of Mysqli to Karma db */
function createMySQLi() {
	$mysqli = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
	if ($mysqli->connect_errno) {
	    die('Connect Error: ' . $mysqli->connect_errno);
	}
	// echo "CONNECTED!";
	return $mysqli;
}

?>